package com.powerbosframework.context;

import java.io.IOException;

import com.powerbosframework.beans.entity.BeanEntity;
import com.powerbosframework.beans.entity.ViewEntity;
/**
 * 应用上下文管理接口
 * 
 * @author youfu.wang
 * @version 1.0
 */
public interface ApplicationContext {

	public void free();

	public void load() throws IOException, ApplicatioinContextException;

	public void load(String location) throws IOException,
			ApplicatioinContextException;

	public Object getBeanObject(String id);
	
	public ViewEntity getGlobalView(String name);
	
	public BeanEntity getBeanEntity(String id);
}
